const { Controller } = require('egg');

class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    ctx.body = 'hello world';
  }
  async list(){
    this.ctx.body={
      msg:"200",
      list:[1,2,3,4,56,7]
    }
  }
}

module.exports = HomeController;

